package com.mylibraryapplication.http;
import com.mylibraryapplication.entity.Login;

import retrofit2.http.POST;
import retrofit2.http.Query;
import rx.Observable;

public interface ApiService {
    //http://123.57.25.197/zycf/appContent/index.app

//    @GET("api/data/福利/{pageCount}/{pageIndex}")
//    Observable<BaseModel<ArrayList<Benefit>>> rxBenefits(
//            @Path("pageCount") int pageCount,
//            @Path("pageIndex") int pageIndex
//    );
    //http://123.57.25.197/zycf/userCenter/accountIndex.app
//    @POST("appContent/index.app")
    @POST("userCenter/accountIndex.app")
    Observable<BaseModel<Benefit>> rxBenefits();

    @POST("appUser/login.app")
    Observable<BaseModel<Login>> login(@Query("userAccount") String userAccount, @Query("userPassword") String userPassword);
}





